/**
 * 
 */
package edu.washington.tcss360.burningpenguins.tests;

import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import edu.washington.tcss360.burningpenguins.queries.ByRoleId;
import edu.washington.tcss360.burningpenguins.queries.QueryBy;

/**
 * @author Rolando Sierra
 *
 */
public class ByRoleIdTest 
{

	/** A query to use in tests */
	private QueryBy my_role_id;
	
	/** Sets up a query for tests. */
	@Before
	public void setUp()
	{
		my_role_id = new ByRoleId(0);
	}

	/**
	 * Test method for toString.
	 */
	@Test
	public void testToString() 
	{
		assertEquals("Incorrect String", "RoleId = 0", ((ByRoleId) my_role_id).toString());
	}

}
